﻿package net.ssta.core.base;

import java.sql.Connection;
import java.sql.SQLException;

import net.ssta.core.db.DBConnectionProvider; 
import net.ssta.core.db.DBException;

public class HandlerBase {

	/**
	 * 获取数据库连接
	 * @return
	 * @throws SQLException 
	 * @throws DBException 
	 */
	public Connection getConnection(String jndi) throws SQLException{
		return DBConnectionProvider.getConnection(jndi);
	}
}
